import http from './http'

// 获取购物车数字
function getCartCount() {
  if (uni.getStorageSync('token')) {
    if (3 > 1) {
      uni.setTabBarBadge({
        index: 2,
        text: 3
      })
    } else {
      console.log(1)
    }
  }
}

exports.getCartCount = getCartCount
